import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;

/**
 * @ClassName App
 * @Author shuyy
 * @Date 2020/10/25
 **/

@ComponentScan("com.it")//配置扫描包
@EnableAutoConfiguration/*(exclude={DataSourceAutoConfiguration.class})*///只能写一个，这里配置了，其它Controller无需写了
@MapperScan("com.it.mapper")
public class App {
    public static void main(String[] args) {
        SpringApplication.run(App.class,args);
    }
}
